package com.sc.sc250601.cook.pojo;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
public class CommentDTO {
    private Long id;
    private Long parentId;
    private String content;
    private Integer likeCount;
    private LocalDateTime createTime;

    private Long userId;
    private String username;
    private String avatar;
    private Boolean vip;

    private List<CommentDTO> children = new ArrayList<>();
}
